package com.aiti.lulian.service.impl;

import com.aiti.base.core.base.service.iml.BaseSerivceImpl;
import com.aiti.lulian.entity.SysAttachment;
import com.aiti.lulian.entity.SysData;
import com.aiti.lulian.mapper.SysAttachmentMapper;
import com.aiti.lulian.mapper.SysDataMapper;
import com.aiti.lulian.service.ISysAttachmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName SysAttachmentImpl
 * @Description TODO
 * @Author chenxianzhen
 * @Date 2024/6/17 21:05
 */
@Service
public class SysAttachmentImpl extends BaseSerivceImpl<SysAttachmentMapper, SysAttachment> implements ISysAttachmentService {
    @Resource
    SysAttachmentMapper sysAttachmentMapper;

    @Override
    public List<SysAttachment> getByRelId(String baseId) {

        return sysAttachmentMapper.findByRelId(baseId);
    }
}
